package com.bwie.controller;

import com.bwie.service.TbHousekeeperService;
import com.bwie.utils.Result;
import com.bwie.vo.HouseVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/auth/house")
public class HouseController {

    @Autowired
    private TbHousekeeperService tbHousekeeperService;



    /**
     * @description 家政登录
     * @params [houseBo]
     * @return com.bwie.utils.Result
     * @author 杰
     * @date 2025/7/11 9:43
     */
    @PostMapping("/HouseLogin")
    public Result HouseLogin(@RequestBody HouseVo houseVo){

        return tbHousekeeperService.HouseLogin(houseVo);
    }
}
